package com.rybbaby.tss.platform.sysConfig.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.platform.sysConfig.entity.SysConfig;
import com.rybbaby.tss.platform.sysConfig.service.ISysConfigService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @description 系统参数数据库操作服务实现
 * 
 * @author 谢进伟
 * 
 * @createDate 2016-11-26 上午10:12:57
 */
@Service
@Transactional
public class SysConfigServiceImp extends BaseServiceImp<SysConfig> implements ISysConfigService {

	@Override
	public List<Map<String , Object>> groupIdDatasource(){
		String sql4 = "SELECT id,groupname FROM sys_config_group";
		List<Map<String , Object>> groupId_datasources = this.findForJdbc(sql4 , null);
		return groupId_datasources;
	}
	
	
}
